package edu.scau.mis.pos.entity;

import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * (Order)实体类
 *
 * @author makejava
 * @since 2021-11-06 21:15:12
 */
public class PosOrder implements Serializable {
    private static final long serialVersionUID = 165232283298718017L;
    /**
     * 订单id
     */
    private Integer orderId;
    /**
     * 订单编号
     */
    private String orderNo;
    /**
     * 销售时间
     */
    private Date saleDatetime;
    /**
     * 总金额
     */
    private Double totalAmount;
    /**
     * 总件数
     */
    private Integer totalQuantity;
    /**
     * 产品列表集合
     */
    private List<PosItem> itemList;


    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Date getSaleDatetime() {
        return saleDatetime;
    }

    public void setSaleDatetime(Date saleDatetime) {
        this.saleDatetime = saleDatetime;
    }

    public Double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Integer getTotalQuantity() {
        return totalQuantity;
    }

    public void setTotalQuantity(Integer totalQuantity) {
        this.totalQuantity = totalQuantity;
    }

    public List<PosItem> getItemList() {
        return itemList;
    }

    public void setItemList(List<PosItem> itemList) {
        this.itemList = itemList;
    }
}
